package com.bw.gmall.service.impl;

import com.bw.gmall.domain.KeyWord;
import com.bw.gmall.mapper.KeyWordMapper;
import com.bw.gmall.service.IKeyWordService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

@Service
public class KeyWordService implements IKeyWordService {
    @Resource
    private KeyWordMapper keyWordMapper;
    @Override
    public List<KeyWord> getKeyWord(Integer date) {
        // 有些逻辑
        return keyWordMapper.queryKeyWord(date);
    }
}
